package com.ruoyi.mapper;

import com.ruoyi.domain.AbilitySubscribe;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
/**
 * 用户订阅Mapper接口
 * 
 * @author ruoyi
 * @date 2024-08-19
 */
public interface AbilitySubscribeMapper 
{
    /**
     * 查询用户订阅
     * 
     * @param ID 用户订阅主键
     * @return 用户订阅
     */
    public AbilitySubscribe selectAbilitySubscribeByID(Long ID);

    /**
     * 查询用户订阅列表
     * 
     * @param abilitySubscribe 用户订阅
     * @return 用户订阅集合
     */
    public List<AbilitySubscribe> selectAbilitySubscribeList(AbilitySubscribe abilitySubscribe);

    /**
     * 新增用户订阅
     * 
     * @param abilitySubscribe 用户订阅
     * @return 结果
     */
    public int insertAbilitySubscribe(AbilitySubscribe abilitySubscribe);

    /**
     * 修改用户订阅
     * 
     * @param abilitySubscribe 用户订阅
     * @return 结果
     */
    public int updateAbilitySubscribe(AbilitySubscribe abilitySubscribe);

    /**
     * 删除用户订阅
     * 
     * @param ID 用户订阅主键
     * @return 结果
     */
    public int deleteAbilitySubscribeByID(Long ID);

    /**
     * 批量删除用户订阅
     * 
     * @param IDs 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAbilitySubscribeByIDs(Long[] IDs);
}
